package com.qqtech.qquan.mall.model;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.qquan.order.model.OrderCouponVo;
import com.qqtech.qquan.order.model.OrderItem;

@SuppressWarnings("serial")
public class MallOrderVo extends MallOrder{
	/**
	 * 优惠卷减少的总价
	 */
	private BigDecimal totalMinu;

	/**
	 * 使用的优惠卷信息
	 */
	private List<OrderCouponVo> orderCouponList;
	/**
	 * 订单详细
	 */
	private List<OrderItem> orderItems;

	/**
	 * 收货地址ID
	 */
	private Integer addressId;
	
	/**
	 * 买家留言
	 * @return
	 */
	private String remark;
	/**
	 * 发货类型
	 */
	private Integer deliveryType;
	
	/**
	 * 订单类型
	 */
	private Integer orderType;
	
	/**
	 * 订单类型
	 */
	private Integer shopId;
	/**
	 * 访问社区ID
	 */
	private Integer visitCommunityId;
	
	public Integer getShopId() {
		return shopId;
	}
	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}
	public Integer getOrderType() {
		return orderType;
	}
	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}
	public Integer getDeliveryType() {
		return deliveryType;
	}
	public void setDeliveryType(Integer deliveryType) {
		this.deliveryType = deliveryType;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getAddressId() {
		return addressId;
	}
	public List<OrderItem> getOrderItems() {
		return orderItems;
	}
	public BigDecimal getTotalMinu() {
		return totalMinu;
	}

	public void setAddressId(Integer addressId) {
		this.addressId = addressId;
	}


	public void setOrderItems(List<OrderItem> orderItems) {
		this.orderItems = orderItems;
	}
	
	public void setTotalMinu(BigDecimal totalMinu) {
		this.totalMinu = totalMinu;
	}
	
	public List<OrderCouponVo> getOrderCouponList() {
		return orderCouponList;
	}
	public void setOrderCouponList(List<OrderCouponVo> orderCouponList) {
		this.orderCouponList = orderCouponList;
	}
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
	public Integer getVisitCommunityId() {
		return visitCommunityId;
	}
	public void setVisitCommunityId(Integer visitCommunityId) {
		this.visitCommunityId = visitCommunityId;
	}
}